﻿using Abp.Domain.Entities.Auditing;
using System;

namespace Camc.Quality.Bop
{
    public class RbopDesc : FullAuditedEntity<Guid>
    {
        public override Guid Id { get; set; }

        /// <summary>
        ///     1.型号
        /// </summary>
        public string Model { get; set; }

        /// <summary>
        ///     2.型号名称
        /// </summary>
        public string ModelName { get; set; }

        /// <summary>
        ///     3.发次
        /// </summary>
        public string LotNo { get; set; }
        /// <summary>
        /// 型号Id
        /// </summary>
        public Guid? ModelId { get; set; }
        /// <summary>
        /// 发次Id
        /// </summary>
        public Guid? LotNoId { get; set; }

        /// <summary>
        ///     4.图号
        /// </summary>
        public string DrawingNo { get; set; }

        /// <summary>
        ///     5.阶段标识
        /// </summary>
        public string StageSign { get; set; }

        /// <summary>
        ///     6.Bop状态
        /// </summary>
        public Status Status { get; set; }
        /// <summary>
        ///     7.属性
        /// </summary>
        public Properties Property { get; set; }

        /// <summary>
        ///     8.是否启用
        /// </summary>
        public IsUsed IsUsed { get; set; }

        /// <summary>
        ///     9.发布时间
        /// </summary>
        public DateTime? ReleaseTime { get; set; }

        /// <summary>
        ///     10.发布者
        /// </summary>
        public long? ReleaseUserId { get; set; }

        /// <summary>
        ///     质量包状态
        /// </summary>
        public QualityStatus QualityStatus { get; set; }

        ////建立表外键
        //public ICollection<RbopNode> RbopNodes { get; set; }
    }
}